package com.deram.ctin.serv.enter.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.deram.ctin.common.bean.PageResult;
import com.deram.ctin.serv.enter.entity.BaseUpdateInfo;
import com.deram.ctin.serv.enter.entity.EnterRecruit;
import com.deram.ctin.serv.enter.filter.EnterRecruitFilter;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Author: jtt
 * @Description:
 * @Date: 2017/9/12 15:27
 * @version: V1.0
 */
public interface EnterRecruitService {

    EnterRecruit find(Long id);

    Page<EnterRecruit> search(EnterRecruit filter, Pagination pagination);

    List<EnterRecruit> list(EnterRecruitFilter filter);

    EnterRecruit save(EnterRecruit param);

    void delete(Long id);

    void deleteByEnterId(Long id);

    void saveList(BaseUpdateInfo<EnterRecruit> updateInfo);

    PageResult<EnterRecruit> search( EnterRecruitFilter filter,  Integer pageNo,  Integer pageSize);
}
